give meaningful error message if qemu device model is unavailable
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 24 Apr 2022 09:26:38 +0000 (12:26 +0300)
committerHans van Kranenburg <hans@knorrie.org>
Thu, 2 Feb 2023 12:04:57 +0000 (13:04 +0100)
commit00ed5ae4e6c8163f16c5b60ea84731dd963314d8
tree9a7f499f34e8f72f44d5371be2b16995834e633f
parent355823f8cc3c2a200982006ceacb563ba7dc4379
give meaningful error message if qemu device model is unavailable

There's no sense to switch to qemu-xen-traditional device model
if that one is not enabled in the first place. This way we'll
have a chance later to print a message suggesting to install the
missing qemu package if we *actually* need qemu for the device model.
tools/libs/light/libxl_create.c
tools/libs/light/libxl_dm.c